<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id = "root">
        <div>你好</div>

        <div>
            <span class="aa">我好</span>
        </div>

        <div>
            <div>
                <div>大家好</div>
            </div>
        </div>

        <div>好好学习</div>
    </div>
</body>
<script src="js/jquery-3.7.1.js"></script>
<script>
    $("#root div").css("color","red")
</script>
</html>